﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AlphaSolutionsGP
{
    class addStudent
    {
        // make all of these static so that you can store them in the class that can be accessed in the first from
        // when clicking add it will call all of the set methods
        // it will then call all of the get methods in form 1
        //e.g. DataRow row = exstingTable.NewRow();
        //     row[0] = addStudent.ID;
        //     row[1] = addStudent.FirstName;
        //     etc etc
        //     ExistingTable.Rows.Add(row);
        //
        //
        //
        //in the form 1 code make a method that updates the table using the above
        //Form1 frm = new Form1();
        //frm.update();


        private String id;
        private String fname;
        private String surname;
        private String status;
        private String email;
        private String address;
        private String courseid;

        public String CourseID
        {
            get { return courseid; }
            set { courseid = value; }
        }
        

        public String Address
        {
            get { return address; }
            set { address = value; }
        }
        

        public String Email
        {
            get { return email; }
            set { email = value; }
        }
        


        public String Status
        {
            get { return status; }
            set { status = value; }
        }
        


        public String Surname
        {
            get { return surname; }
            set { surname = value; }
        }
        

        public String FirstName
        {
            get { return fname; }
            set { fname = value; }
        }
        

        public String ID
        {
            get { return id; }
            set { id = value; }
        }
        
    }
}
